package com.ruoyi.jxxwx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 场所信息对象 jxx_place
 * 
 * @author wh
 * @date 2025-04-10
 */
public class JxxPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long placeId;

    /** 产所名称 */
    @Excel(name = "产所名称")
    private String placeName;

    /** 产所地址 */
    @Excel(name = "产所地址")
    private String placeAddr;

    /** 产所类型 */
    @Excel(name = "产所类型")
    private String placeType;

    /** 所在辖区 */
    @Excel(name = "所在辖区")
    private String placeArea;

    /** 场所状态(0.正常,1预警,2限时整改,3已整改4.未改动) */
    @Excel(name = "场所状态(0.正常,1预警,2限时整改,3已整改4.未改动)")
    private Long placeStatus;

    /** 整改时间(限时整改使用) */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改时间(限时整改使用)", width = 30, dateFormat = "yyyy-MM-dd")
    private Date correctionTime;

    public void setPlaceId(Long placeId) 
    {
        this.placeId = placeId;
    }

    public Long getPlaceId() 
    {
        return placeId;
    }
    public void setPlaceName(String placeName) 
    {
        this.placeName = placeName;
    }

    public String getPlaceName() 
    {
        return placeName;
    }
    public void setPlaceAddr(String placeAddr) 
    {
        this.placeAddr = placeAddr;
    }

    public String getPlaceAddr() 
    {
        return placeAddr;
    }
    public void setPlaceType(String placeType) 
    {
        this.placeType = placeType;
    }

    public String getPlaceType() 
    {
        return placeType;
    }
    public void setPlaceArea(String placeArea) 
    {
        this.placeArea = placeArea;
    }

    public String getPlaceArea() 
    {
        return placeArea;
    }
    public void setPlaceStatus(Long placeStatus) 
    {
        this.placeStatus = placeStatus;
    }

    public Long getPlaceStatus() 
    {
        return placeStatus;
    }
    public void setCorrectionTime(Date correctionTime) 
    {
        this.correctionTime = correctionTime;
    }

    public Date getCorrectionTime() 
    {
        return correctionTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("placeId", getPlaceId())
            .append("placeName", getPlaceName())
            .append("placeAddr", getPlaceAddr())
            .append("placeType", getPlaceType())
            .append("placeArea", getPlaceArea())
            .append("placeStatus", getPlaceStatus())
            .append("correctionTime", getCorrectionTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
